package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    Integer existOrderSetting(Date orderDate);


    void updateOrderSetting(OrderSetting orderSetting);

    void insertOrderSetting(OrderSetting orderSetting);

    List<OrderSetting> queryOrderSetting(Map map);

    Integer queryThisWeekOrderNumber(@Param("thisWeekOne") String thisWeekOne,@Param("sundayWeekOne") String sundayWeekOne);

}
